{% extends "base.html" %}
{% comment %}
<!--
  Copyright (C) 2008 ZHENG Zhong <heavyzheng nospam-at gmail D0T com>
  - http://www.zhengzhong.net/
  - http://blog.zhengzhong.net/

  Created on 2008-12-19.
  $Id: environ.html 306 2008-12-19 18:56:59Z heavyzheng $
-->
{% endcomment %}

{#------------------------------------------------------------------------------------------------#}

{% block html_head %}
<title>Google App Engine Server Environment</title>
{% endblock %}{# html_head #}

{#------------------------------------------------------------------------------------------------#}

{% block header %}
<h1>Google App Engine Server Environment</h1>
<h2>This page is for webapp administrator(s) only.</h2>
{% endblock %}{# header #}

{#------------------------------------------------------------------------------------------------#}

{% block sidebar-and-content %}
  
  {% if error %}
    <div class="error message">{{ error|escape }}</div>
  {% endif %}
  
  {% if info %}
    <div class="info message">{{ info|escape }}</div>
  {% endif %}

  {% if os_environ %}
    <div id="os_environ" class="section">
      <h2>os.environ</h2>
      <p>
        {% for item in os_environ %}
          <code>{{ item|escape }}</code><br/>
        {% endfor %}
      </p>
    </div><!--/#os_environ-->
  {% endif %}

  {% if sys_path %}
    <div id="sys_path" class="section">
      <h2>sys.path</h2>
      <p>
        {% for path in sys_path %}
          <code>{{ path|escape }}</code><br/>
        {% endfor %}
      </p>
    </div><!--/#sys_path-->
  {% endif %}

  {% if cookies %}
    <div id="cookies" class="section">
      <h2>cookies</h2>
      <p>
        {% for item in cookies %}
          <code>{{ item|escape }}</code><br/>
        {% endfor %}
      </p>
    </div><!--/#cookies-->
  {% endif %}
  
  {% if session %}
    <div id="session" class="section">
      <h2>session</h2>
      <p>
        {% for item in session %}
          <code>{{ item|escape }}</code><br/>
        {% endfor %}
      </p>
    </div><!--/#session-->
  {% endif %}
  
  {% if memcache_stats %}
    <div id="memcache_stats" class="section">
      <h2>memcache stats</h2>
      <p>
        {% for item in memcache_stats %}
          <code>{{ item|escape }}</code><br/>
        {% endfor %}
      </p>
    </div><!--/#memcache_stats-->
  {% endif %}

{% endblock %}{# sidebar-and-content #}



